package com.jhhc.RHDB.Data.Pojo;


import java.util.ArrayList;
import java.util.List;

//单站雨量日逐时
public class HourlyRainfall {

    //站名
    private String  stationName;
    //站码
    private String  stationCode;
    //单位
    private String         unit;
    //逐时数据
    private List<HourlyData> hourlyDatas;


    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public List<HourlyData> getHourlyDatas() {
        return hourlyDatas;
    }
    List<HourlyData> hourlyData1 = new ArrayList<HourlyData>();
    public void setHourlyDatas(HourlyData hourlyData) {
        hourlyData1.add(hourlyData);
        this.hourlyDatas = hourlyData1;
    }


    public void setHourlyDatas(List<HourlyData> hourlyDatas) {
        this.hourlyDatas = hourlyDatas;
    }
}
